<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta content="text/html; charset=UTF-8" http-equiv="content-type">
    <meta charset="utf-8">
    <title>{{$data.title}} - 后台管理</title>
    <link href="{{$smarty.const.APP_URL}}templates/admin/css/admin.css" type="text/css" rel="stylesheet">
    <link href="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/black.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery-1.8.3.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/jquery.cookie.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/artDialog/jquery.artDialog.min.js"></script>
    <script type="text/javascript" src="{{$smarty.const.APP_URL}}templates/admin/js/admin.js"></script>
    <script type="text/javascript">
        var this_uri = "/admin/article/add";
    </script>
</head>
<body>

<div id="header">
    <div class="logo"><a href="/admin/"><img src="{{$smarty.const.APP_URL}}templates/admin/images/logo.png" title="后台首页"></a></div>
    <div class="loading"><div id="ajax-loader" title="Ajax数据更新中..."></div></div>
    <div id="topbar">
        <!--顶部菜单 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topmenu.html"}}
        <!--顶部菜单 end-->
        <!--顶部右侧 start-->
        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/topuser.html"}}
        <!--顶部右侧 end-->
        <div></div>
    </div>
</div>

<div><!-- 外层添加一个DIV解决IE8下margin-top的问题 -->
    <table id="maintable" cellpadding="0" cellspacing="0">
        <tbody><tr>
            <!--左侧菜单 start-->
            {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/leftmenu.html"}}
            <!--左侧菜单 end-->
            <!--主要TD start-->
            <td class="maintd" valign="top">
                <div class="maindiv">
                    <div id="main">
                        <div class="itemtitle">
                            <h3>文章管理</h3>
                            <ul>
                                <a class="link-btn link-live" href="/admin/index.php/products/add">添加文章</a>
                                <a class="link-btn" href="/admin/index.php/products">文章列表</a>
                            </ul>
                        </div>
                        <link type="text/css" rel="stylesheet" href="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/css/swfupload.css">
                        <script src="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.js" type="text/javascript"></script>
                            <script src="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.queue.js" type="text/javascript"></script>
                                    <script src="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.fileprogress.js" type="text/javascript"></script>
                                    <script src="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.handlers.js" type="text/javascript"></script>
                                    <script src="{{$smarty.const.APP_URL}}templates/admin/js/kindeditor/kindeditor.js" charset="utf-8"></script>
                                    <script src="{{$smarty.const.APP_URL}}templates/admin/js/kindeditor/lang/zh_CN.js" charset="utf-8"></script>
                                    <script type="text/javascript">

                                    KindEditor.ready(function(K) {
                                        var editor88 = K.create('textarea[name="content"]', {
                                            uploadJson : '/admin/index.php/editor_upload/ajax',
                                            fileManagerJson : '/admin/index.php/editor_file_manager/ajax',
                                            allowFileManager : true,
                                            afterCreate : function() {
                                                var self = this;
                                                K.ctrl(document, 13, function() {
                                                    self.sync();
                                                    K('form[name=editorform88]')[0].submit();
                                                });
                                                K.ctrl(self.edit.doc, 13, function() {
                                                    self.sync();
                                                    K('form[name=editorform88]')[0].submit();
                                                });
                                            }
                                        });

                                        var editor66 = K.create('textarea[name="content_en"]', {
                                            uploadJson : '/admin/index.php/editor_upload/ajax',
                                            fileManagerJson : '/admin/index.php/editor_file_manager/ajax',
                                            allowFileManager : true,
                                            afterCreate : function() {
                                                var self = this;
                                                K.ctrl(document, 13, function() {
                                                    self.sync();
                                                    K('form[name=editorform88]')[0].submit();
                                                });
                                                K.ctrl(self.edit.doc, 13, function() {
                                                    self.sync();
                                                    K('form[name=editorform88]')[0].submit();
                                                });
                                            }
                                        });

                                    });

                            var swfu;
                            window.onload = function() {
                                var settings = {
                                    flash_url : "{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.swf",
                                    upload_url: "/admin/index.php/swfupload/ajax",
                                    post_params: {"sessionid": "3f677dba2d7633324e79fd6cc5581934"},
                                    file_size_limit : "10 MB",
                                    file_types : "*.jpg;*.jpeg",
                                    file_types_description : "Image Files",
                                    file_upload_limit : 60,
                                    file_queue_limit : 60,
                                    custom_settings : {
                                        progressTarget : "fsUploadProgress",
                                        cancelButtonId : "btnCancel",
                                        uploadButtonId : "btnUpload",
                                        filesStatusId: "filesStatus"
                                    },

                                    button_image_url: "{{$smarty.const.APP_URL}}templates/admin/js/swfupload/images/swfupload_btn_flash.png",
                                    button_width: "78",
                                    button_height: "28",
                                    button_cursor: SWFUpload.CURSOR.HAND,
                                    button_placeholder_id: "spanButtonPlaceHolder",

                                    file_queued_handler : fileQueued,
                                    file_queue_error_handler : fileQueueError,
                                    file_dialog_complete_handler : fileDialogComplete,
                                    upload_start_handler : uploadStart,
                                    upload_progress_handler : uploadProgress,
                                    upload_error_handler : uploadError,
                                    upload_success_handler : uploadSuccess,
                                    upload_complete_handler : uploadComplete,
                                    upload_completeinfo_handler : uploadCompleteInfo
                                };

                                swfu = new SWFUpload(settings);
                            };

                        </script>
                        <form id="editorform88" action="/admin/index.php/products/save" enctype="multipart/form-data" method="post" name="editorform88">
                            <input type="hidden" value="0" name="pro_id">
                            <table class="tb">
                                <tbody>
                                <tr>
                                    <td class="tbheader" colspan="38">添加文章</td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>上传主图片:</b>
                                    </td>
                                    <td class="td last">
                                        <input type="file" size="40" name="imagefile">
<span class="light">
注:
<span class="note">仅允许上传JPG类型的图片文件</span>
.
</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>
                                            文章名称(
                                            <span class="blue">中文</span>
                                            ):
                                        </b>
                                    </td>
                                    <td class="td last">
                                        <input type="text" size="50" value="" name="title">
                                        <font class="red">* 必填项</font>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>
                                            文章名称(
                                            <span class="red">英文</span>
                                            ):
                                        </b>
                                    </td>
                                    <td class="td last">
                                        <input type="text" size="50" value="" name="title_en">
                                        <font class="red">* 必填项</font>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>文章分类:</b>
                                    </td>
                                    <td class="td last">
                                        <input type="hidden" value="" name="oldcat_id">
                                        <select name="cat_id">
                                            <option value="0">-- 请选择 --</option>
                                        </select>
                                        <font class="red">* 必填项</font>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>是否发布?</b>
                                    </td>
                                    <td class="td last">
                                        <input type="checkbox" checked="" value="1" name="is_show">
                                        <b>是:</b>
                                        <span class="light">当不发布时, 此文章不在前台显示.</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>是否推荐?</b>
                                    </td>
                                    <td class="td last">
                                        <input type="checkbox" value="1" name="is_best">
                                        <b>是:</b>
                                        <span class="light">推荐的文章显示在重要的位置.</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>
                                            文章价格(
                                            <span class="blue">中文</span>
                                            ):
                                        </b>
                                    </td>
                                    <td class="td last">
                                        <input type="text" size="30" value="" name="price">
                                        <span class="light">注: 可填写价格及单位.</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>
                                            文章价格(
                                            <span class="red">英文</span>
                                            ):
                                        </b>
                                    </td>
                                    <td class="td last">
                                        <input type="text" size="30" value="" name="price_en">
                                        <span class="light">注: 同上</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>
                                            Meta关键字(
                                            <span class="blue">中文</span>
                                            ):
                                        </b>
                                    </td>
                                    <td class="td last">
                                        <input type="text" size="50" value="" name="keywords">
<span class="light">
注: 文章的Meta关键字,
<span class="note">便于搜索引擎收录, 请用英文逗号隔开</span>
.
</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>
                                            Meta关键字(
                                            <span class="red">英文</span>
                                            ):
                                        </b>
                                    </td>
                                    <td class="td last">
                                        <input type="text" size="50" value="" name="keywords_en">
                                        <span class="light">注: 同上</span>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>文章正文:</b>
                                        <br>
                                        <span class="light">文章的详细内容.</span>
                                    </td>
                                    <td class="td last">
                                        <div class="ok_tab">
                                            <div class="ok_tabheader">
                                                <ul id="tabContent">
                                                    <li class="ok_tabOn">
                                                        <a hidefocus="true" rel="1" title="中文内容" href="javascript:void(0)">中文内容</a>
                                                    </li>
                                                    <li>
                                                        <a hidefocus="true" rel="2" title="英文内容" href="javascript:void(0)">英文内容</a>
                                                    </li>
                                                </ul>
                                            </div>
                                            <div id="tabContent_1" class="tabContent">
                                                <div class="ke-container ke-container-default" style="width: 100%;">
                                                    <div class="ke-toolbar" style="display:block;" unselectable="on">
<span class="ke-outline" unselectable="on" title="HTML代码" data-name="source">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-source" unselectable="on"></span>
</span>
                                                        <span class="ke-inline-block ke-separator"></span>
<span class="ke-outline" unselectable="on" title="后退(Ctrl+Z)" data-name="undo">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-undo" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="前进(Ctrl+Y)" data-name="redo">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-redo" unselectable="on"></span>
</span>
                                                        <span class="ke-inline-block ke-separator"></span>
<span class="ke-outline" unselectable="on" title="预览" data-name="preview">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-preview" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="打印(Ctrl+P)" data-name="print">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-print" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="插入模板" data-name="template">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-template" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="剪切(Ctrl+X)" data-name="cut">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-cut" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="复制(Ctrl+C)" data-name="copy">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-copy" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="粘贴(Ctrl+V)" data-name="paste">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-paste" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="粘贴为无格式文本" data-name="plainpaste">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-plainpaste" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="从Word粘贴" data-name="wordpaste">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-wordpaste" unselectable="on"></span>
</span>
                                                        <span class="ke-inline-block ke-separator"></span>
<span class="ke-outline ke-selected" unselectable="on" title="左对齐" data-name="justifyleft">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-justifyleft" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="居中" data-name="justifycenter">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-justifycenter" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="右对齐" data-name="justifyright">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-justifyright" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="两端对齐" data-name="justifyfull">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-justifyfull" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="编号" data-name="insertorderedlist">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-insertorderedlist" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="项目符号" data-name="insertunorderedlist">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-insertunorderedlist" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="增加缩进" data-name="indent">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-indent" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="减少缩进" data-name="outdent">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-outdent" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="下标" data-name="subscript">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-subscript" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="上标" data-name="superscript">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-superscript" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="清理HTML代码" data-name="clearhtml">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-clearhtml" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="一键排版" data-name="quickformat">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-quickformat" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="全选(Ctrl+A)" data-name="selectall">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-selectall" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="关于" data-name="about">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-about" unselectable="on"></span>
</span>
                                                        <span class="ke-inline-block ke-separator"></span>
<span class="ke-outline" unselectable="on" title="全屏显示(Esc)" data-name="fullscreen">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-fullscreen" unselectable="on"></span>
</span>
                                                        <div class="ke-hr"></div>
<span class="ke-outline" unselectable="on" title="段落" data-name="formatblock">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-formatblock" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="字体" data-name="fontname">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-fontname" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="文字大小" data-name="fontsize">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-fontsize" unselectable="on"></span>
</span>
                                                        <span class="ke-inline-block ke-separator"></span>
<span class="ke-outline" unselectable="on" title="文字颜色" data-name="forecolor">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-forecolor" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="文字背景" data-name="hilitecolor">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-hilitecolor" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="粗体(Ctrl+B)" data-name="bold">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-bold" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="斜体(Ctrl+I)" data-name="italic">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-italic" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="下划线(Ctrl+U)" data-name="underline">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-underline" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="删除线" data-name="strikethrough">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-strikethrough" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="行距" data-name="lineheight">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-lineheight" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="删除格式" data-name="removeformat">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-removeformat" unselectable="on"></span>
</span>
                                                        <span class="ke-inline-block ke-separator"></span>
<span class="ke-outline" unselectable="on" title="图片" data-name="image">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-image" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="Flash" data-name="flash">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-flash" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="视音频" data-name="media">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-media" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="插入文件" data-name="insertfile">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-insertfile" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="表格" data-name="table">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-table" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="插入横线" data-name="hr">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-hr" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="插入表情" data-name="emoticons">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-emoticons" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="Google地图" data-name="map">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-map" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="插入程序代码" data-name="code">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-code" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="插入分页符" data-name="pagebreak">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-pagebreak" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="锚点" data-name="anchor">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-anchor" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="超级链接" data-name="link">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-link" unselectable="on"></span>
</span>
<span class="ke-outline" unselectable="on" title="取消超级链接" data-name="unlink">
<span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-unlink" unselectable="on"></span>
</span>
                                                    </div>
                                                    <div class="ke-edit" style="display: block; height: 338px;">
                                                        <iframe class="ke-edit-iframe" frameborder="0" hidefocus="true" style="width: 100%; height: 338px;">
                                                            <html>
                                                            <head>
                                                                <meta charset="utf-8">
                                                                <title>KindEditor</title>
                                                                <style>

                                                                    html {margin:0;padding:0;}
                                                                    body {margin:0;padding:5px;}
                                                                    body, td {font:12px/1.5 "sans serif",tahoma,verdana,helvetica;}
                                                                    body, p, div {word-wrap: break-word;}
                                                                    p {margin:5px 0;}
                                                                    table {border-collapse:collapse;}
                                                                    img {border:0;}
                                                                    table.ke-zeroborder td {border:1px dotted #AAA;}
                                                                    img.ke-flash {
                                                                        border:1px solid #AAA;
                                                                        background-image:url({{$smarty.const.APP_URL}}templates/admin/js/kindeditor/themes/common/flash.gif);
                                                                        background-position:center center;
                                                                        background-repeat:no-repeat;
                                                                        width:100px;
                                                                        height:100px;
                                                                    }
                                                                    img.ke-rm {
                                                                        border:1px solid #AAA;
                                                                        background-image:url({{$smarty.const.APP_URL}}templates/admin/js/kindeditor/themes/common/rm.gif);
                                                                        background-position:center center;
                                                                        background-repeat:no-repeat;
                                                                        width:100px;
                                                                        height:100px;
                                                                    }
                                                                    img.ke-media {
                                                                        border:1px solid #AAA;
                                                                        background-image:url({{$smarty.const.APP_URL}}templates/admin/js/kindeditor/themes/common/media.gif);
                                                                        background-position:center center;
                                                                        background-repeat:no-repeat;
                                                                        width:100px;
                                                                        height:100px;
                                                                    }
                                                                    img.ke-anchor {
                                                                        border:1px dashed #666;
                                                                        width:16px;
                                                                        height:16px;
                                                                    }
                                                                    .ke-script {
                                                                        display:none;
                                                                        font-size:0;
                                                                        width:0;
                                                                        height:0;
                                                                    }
                                                                    .ke-pagebreak {
                                                                        border:1px dotted #AAA;
                                                                        font-size:0;
                                                                        height:2px;
                                                                    }
                                                                </style>
                                                            </head>
                                                            <body class="ke-content"></body>
                                                            </html>
                                                        </iframe>
                                                        <textarea class="ke-edit-textarea" hidefocus="true" style="width: 100%; height: 338px; display: none;"></textarea>
                                                    </div>
                                                    <div class="ke-statusbar">
                                                        <span class="ke-inline-block ke-statusbar-center-icon"></span>
                                                        <span class="ke-inline-block ke-statusbar-right-icon"></span>
                                                    </div>
                                                </div>
                                                <textarea id="content" style="width: 100%; height: 400px; visibility: hidden; display: none;" name="content"></textarea>
                                            </div>
                                            <div class="ok_tabbottom">
                                                <span class="tabbottomL"></span>
                                                <span class="tabbottomR"></span>
                                            </div>
                                        </div>
                                        <script type="text/javascript">
                                            new tab('tabContent-li-ok_tabOn-', '-');
                                        </script>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="td">
                                        <b>上传组图片:</b>
                                        <br>
                                        <span class="light">组图片是辅助展示图片.</span>
                                    </td>
                                    <td class="td last">
                                        <div id="swfupload">
                                            <div class="fieldset">
                                                <span class="legend">上传文件列表</span>
                                                <table id="file_table" class="file_table" cellspacing="0" cellpadding="0">
                                                    <thead>
                                                    <tr>
                                                        <th width="30">#</th>
                                                        <th width="180">文件</th>
                                                        <th width="60">大小</th>
                                                        <th width="180">状态</th>
                                                        <th width="40">操作</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody id="fsUploadProgress"></tbody>
                                                </table>
                                                <div id="filesStatus" class="filesStatus">
                                                    请选择(可多选)需要上传的文件!
<span class="light">
注: 仅允许上传
<span class="note">JPG</span>
类型的图片文件
</span>
                                                </div>
                                            </div>
                                            <div class="buttons">
                                                <object id="SWFUpload_0" class="swfupload" width="78" height="28" data="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.swf?preventswfcaching=1450083410957" type="application/x-shockwave-flash">
                                                    <param value="window" name="wmode">
                                                    <param value="{{$smarty.const.APP_URL}}templates/admin/js/swfupload/swfupload.swf?preventswfcaching=1450083410957" name="movie">
                                                    <param value="high" name="quality">
                                                    <param value="false" name="menu">
                                                    <param value="always" name="allowScriptAccess">
                                                    <param value="movieName=SWFUpload_0&uploadURL=%2Fadmin%2Findex.php%2Fswfupload%2Fajax&useQueryString=false&requeueOnError=false&httpSuccess=&assumeSuccessTimeout=0&params=sessionid%3D3f677dba2d7633324e79fd6cc5581934&filePostName=Filedata&fileTypes=*.jpg%3B*.jpeg&fileTypesDescription=Image%20Files&fileSizeLimit=10%20MB&fileUploadLimit=60&fileQueueLimit=60&debugEnabled=false&buttonImageURL=%2Fpublic%2Fjs%2Fswfupload%2Fimages%2Fswfupload_btn_flash.png&buttonWidth=78&buttonHeight=28&buttonText=&buttonTextTopPadding=0&buttonTextLeftPadding=0&buttonTextStyle=color%3A%20%23000000%3B%20font-size%3A%2016pt%3B&buttonAction=-110&buttonDisabled=false&buttonCursor=-2" name="flashvars">
                                                </object>
                                                <input id="btnUpload" class="btnUpload_disabled" type="button" disabled="disabled" onclick="swfu.startUpload();" onfocus="this.blur();">
                                                <input id="btnCancel" class="btnCancel_disabled" type="button" disabled="disabled" onclick="swfu.cancelQueue();" onfocus="this.blur();">
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <div class="submit">
                                <input class="save" type="submit" value="添加文章" name="save">
                            </div>
                        </form>
                        <!--底部信息 start-->
                        {{include file="{{$smarty.const.APP_PATH}}Admin/View/public/sysinfo.html"}}
                        <!--底部信息 end-->
                    </div>
                </div>
            </td>
            <!--主要TD end-->
        </tr>
        </tbody></table>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        //调整高度
        $("#container").height($(window).height()-40);
        $(window).resize(function() {
            $("#container").height($(window).height()-40);
        });

        App.init();//左侧菜单初始化

        var a101 = $("#topbar"); //顶部下接菜单
        a101.find("dl").Jdropdown({delay: 0}, function(a){});

        //全选checkbox
        $("#checkAll").click(function(e){
            $("input[name='" + $(this).attr("for") + "']").attr("checked", this.checked);
        });
    });
</script>
</body>
</html>